package cn.bsuc.infirmary.mapper;



import cn.bsuc.infirmary.domain.Systemdictionaryitem;
import cn.bsuc.infirmary.query.SystemDictionaryItemQueryObject;

import java.util.List;

public interface SystemdictionaryitemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Systemdictionaryitem record);

    Systemdictionaryitem selectByPrimaryKey(Long id);

    List<Systemdictionaryitem> selectAll();

    int updateByPrimaryKey(Systemdictionaryitem record);

    List<Systemdictionaryitem> selectForList(SystemDictionaryItemQueryObject qo);

    Integer selectMaxSequence(Long parentId);

    void deleteByParentId(Long parentId);

    List<Systemdictionaryitem> selectBySn(String sn);
}